package question3;

public class YinWu extends Bird {
    public YinWu() {
    }

    public YinWu(String name, String sex, String age, String color) {
        super(name, sex, age, color);
    }
    @Override
    public void eat(){
        System.out.println("屎");
    }
    @Override
    public void fly(){
        System.out.println("单飞");
    }
    public void  speak(){
        System.out.println("鹦鹉学舌");
    }}
